
public class Java_2 {
	public static void main(String[] args) {
		int[] a = new int[31];
		int sum = 1;
		for (int i = 0; i < a.length; i++) {
			if (i == 0) {
				a[i] = 1;
				continue;
			}
			if (i == 1) {
				a[i] = 2;
				continue;
			}
			sum *= 2;
			a[i] = sum * 2;
		}
		for (int i = 0; i < a.length; i++) {
			System.out.println(a[i]);

		}
	}
}
